package com.ruoyi.tws.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.MyPlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 物流公司常用司机对象 tws_company_driver
 * 
 * @author ruoyi
 * @date 2023-01-28
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tws_company_driver")
public class TwsCompanyDriver extends MyPlusEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 物流公司表id */
    @Excel(name = "物流公司表id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long companyId;

    /** 司机id */
    @Excel(name = "司机id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long driverId;

    private String tenantId;

}
